Jigoshop\Helper\Product C

Total Complexity 123
Dependencies 19
Dependents 23
Total lines 855
Lines of code 588
Logical lines of code 270
Comment lines 145
Methods 30
Properties 1

Methods 30

Method Rating Maintainability Complexity Lines of code
getPriceHtml()
C
33 23 100
generatePrices()
A
43 10 52
getStock()
A
49 10 28
getVariationAttributes()
A
52 8 24
printAddToCartForm()
S
53 7 21
isOnSale()
S
56 7 17
renderAddToCartForm()
S
54 6 21
getFeaturedImage()
S
54 6 21
formatPrice()
S
55 5 19
getBasicBillingFields()
S
42 2 63
getRelated()
S
47 3 39
getAttachmentsData()
S
52 4 24
getBasicShippingFields()
S
45 2 48
isSale()
S
69 5 6
getRating()
S
54 2 22
isFeatured()
S
66 3 8
getSelectOption()
S
64 3 10
getImageSize()
S
63 3 10
getRatingHtml()
S
63 2 9
getItemData()
S
63 2 9
setOptions()
S
80 1 3
getVariation()
S
70 1 6
renderViewProductButton()
S
78 1 3
dimensionsUnit()
S
79 1 3
getImagePlaceholder()
S
73 1 4
hasFeaturedImage()
S
80 1 3
formatNumericPrice()
S
75 1 4
getButtonType()
S
79 1 3
weightUnit()
S
79 1 3
filterAttachments()
S
73 1 5